Coder Social home page Coder Social logo

itpc / lapps Goto Github PK

View Code? Open in Web Editor NEW
51.0 5.0 3.0 1.72 MB

LAppS - Lua Application Server for micro-services with default communication over WebSockets. The fastest and most vertically scalable WebSockets server implementation ever. Low latency C++ <-> Lua stack roundtrip.

License: GNU General Public License v3.0

Makefile 3.49% C++ 49.64% Shell 12.83% C 16.40% HTML 17.35% Lua 0.24% NASL 0.01% Python 0.05%
lua application-server micro-services micro-service-architecture websocket-server json-rpc2 cbor cpp17 c

lapps's People

Contributors

pkpro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

lapps's Issues

BUG in runDockerBuild script

In row 40 instead of:

mv /opt/lapps/packages/lapps-${VERSION}-{$BUILD}-amd64.deb packages/${UBUNTU}/

must be:
mv /opt/lapps/packages/lapps-${VERSION}-${BUILD}-amd64.deb packages/${UBUNTU}/

module/nljson.h

  1. incorrect counting of the arguments for decode_file
  2. exception declared without throwing
  3. typo.

Coverty 346042, 346043 Unchecked return value from library

The function returns a value that indicates an error condition. If this is not checked, the error condition may not be handled correctly.

In LAppS::​ClientWebSocket::​wsConnect(): Value returned from a library function is not checked for errors before being used. This value may indicate an error condition. (CWE-252)

At include/ClientWebSocket.h:479
At include/ClientWebSocket.h:519

console service implementation

An administrative console service is required for services network deployment and services management.
In addition this console service must provide monitoring on resource usage and LAppS performance statistics.

Support separate build targets for different LAppS configurations

LAppS supports building for AVX and Generic (SSSE3) instruction sets as well it supports building binaries with or without server stats and with or without TLS.

Build configuration have to be separated and there have to be distinguished binaries produced for each configuration:

  1. Release with AVX2 support (with stats and with TLS support). Binary name: lapps.avx2
  2. Release with AVX2 support and without server stats. Binary name: lapps.avx2.nostats
  3. Release with AVX2 support without server stats and without TLS support. Binary name: lapps.avx2.notstats.notls
  4. Generic Release (SSSE3) with TLS and stats enabled. Binary name: lapps
  5. Generic Release (SSSE3) without stats. Binary name: lapps.nostats
  6. Generic Release (SSSE3) without stats and without TLS support. Binary name lapps.nostats.notls

All these binaries must be included in binary deb package.

Update benchmark results

Hello,

Just going to point out that a major release of uWebSockets has been out for a few months now.

It should give you a lot better results in your tests.

Would be nice if you updated the readme accordingly.

Wider binary compatibility

Hello,

I cannot run your pre-compiled Ubuntu binaries since I don't have SSE3 or AVX2 it seems. I just get the classic Illegal instruction (core dumped) when I run any of the binaries.

You mind providing a binary more compatible? SSE2 or AVX(1) would run on my laptop and probably many more.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.