Code Monkey home page Code Monkey logo

jesl's People

Contributors

amavashev avatar cbernardone avatar dependabot[bot] avatar evaldasguogis avatar jbnas avatar kausandr avatar wookim007 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

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

jesl's Issues

Simulation not sending all tracking items (skipping some)

Using the custom version of order-process.xml simulation, running 5000 iterations, it appears that not all generated tracking items are streamed to jKool server. The metrics printed at the end of the simulation run appear to show this.

Since each iteration of my custom order-process simulation generates 7 activities and 18 events, the total number of items that should be reported to jKool server should be:

 7 * 5000 = 35,000 activities
18 * 5000 = 90,000 events

The following metrics reported by simulator confirm this:

TrackerImpl/tracker-activities:                             35,000
TrackerImpl/tracker-events:                                 90,000

However, the number of items processed by the sink are:

SimulatedEventSink/sink-activities:                         35,000
SimulatedEventSink/sink-events:                             88,020
SimulatedEventSink/sink-skipped:                             1,980
JKCloudEventSink/sink-direct-writes:                       123,020
JKCloudEventSink/sink-sent-messages:                       123,020

No reason is given as to why the events are being skipped

Include Access Token in every streamed message

Currently, the streaming access token is only sent once, when connection is established.

Request is to include the token in EVERY HTTP message sent. Suggestion is to use the Authorization header.

This is for future use, where routing and throttling would be done by an external gateway.

Simulation events being lost

Running the order-process.xml simulation, events sporatically get "lost". The simulator sink results show the correct number of events sent, but the jKool Gateway does not received that many. When it does happen, it is always one of the SQL.Execute events in the AcceptOrder activity (first activity in simulation). I've seen it running both a single iteration and several iterations.

This was testing the latest code from both jesl and tnt4j repositories.

Batch Posting Support

We have a job that runs every 5 minutes and will generate a few hundred records to be posted each time around. Is it possible to post them all with one POST request? We can generate a separate post request for each, it's just a lot more overhead. Also, batching many records seems a pretty common use case.

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.