Find Jobs
Hire Freelancers

Java CLI Program for Trace reconstruction from logs with JSON Tree generation

$10-30 USD

I përfunduar
Postuar about 5 years ago

$10-30 USD

Paguhet në dorëzim
The task is to produce these JSON trees. That is, given a sequence of log entries, output a JSON for each trace. Details: - The solution should be a Java program, executable from the command line. - The input should be read from standard input or a file (chooseable by the user) - The output should be one JSON per line, written to standard output, or a file (chooseable by the user). - As said, there can be lines out of order. - There can be orphan lines (i.e., services with no corresponding root service); they should be tolerated but not included in the output (maybe summarized in stats, see below). - Lines can be malformed, they should be tolerated and ignored. Features: - A nice command-line interface, that allows to specify inputs and outputs from and to files. - Optionally report to standard error (or to a file), statistics about progress, lines consumed, line consumption rate, buffers, etc. Both at the end of the processing and during it. - Optionally report to standard error (or to a file), statistics about the traces themselves, like number of orphan requests, average size of traces, average depth, etc. - As the file could be quite big, try to do the processing using as many cores as the computer has, but only if the processing is actually speeded that way. Bonus As the log entries can be (a bit) out of order, and there could be orphans, managing “pending” entries in memory can be important. This would be the case if we indent this to be a long running program (which is not the case in this particular exercise, but is the suggested situation). As a bonus, you should implement some management of “pending” entries, based on the date of the logs and an “expiration”. As log entries arrive, seeing one with some timestamp would mean that any pending log which is older than some configurable expiration threshold (relative to that timestamp) should be declared orphan (even if its family comes afterwards). This works in the assumption that traces can be a bit delayed, but not come from the future: we are assuming that the timestamp that we receive is, at the most pessimistic case, current. DATA: ● Two pairs of files with log and traces. One small to start and one bigger to test more thoroughly. ● Since there is no deterministic ordering for the traces/calls, it is not enough to just compare two files to know if a solution is correct. For this reason a program (“[login to view URL]”, an executable jar file) is supplied for your convenience: it reports if two trace files are the same, regardless of the order. It also parses the traces, which also allows to check if the format is correct. This is just for convenience, to compare a potential solution with the supplied references.
ID e Projektit: 18976608

Rreth projektit

5 propozime
Projekt në distancë
Aktive 5 yrs ago

Po kërkoni të fitoni para?

Përfitimet e ofertës për Freelancer

Vendosni buxhetin dhe afatin tuaj
Paguhuni për punën tuaj
Përshkruani propozimin tuaj
Është falas të regjistrohesh dhe të bësh oferta për punë
I dhënë për:
Avatari i Përdoruesit
Please accept my bid thanks I had completed your [login to view URL] had checked it on my Local machine . So please start new project with me
$30 USD në 1 ditë
5,0 (2 përshtypje)
1,5
1,5
5 freelancers are bidding on average $155 USD for this job
Avatari i Përdoruesit
Hi, I’m an expert in java programming. I’m sure that I can easily do this project for you. We can have a chat.
$250 USD në 5 ditë
4,9 (343 përshtypje)
7,3
7,3
Avatari i Përdoruesit
Hi, I am experienced programmer and I can implement such log parsing and trace generation program as described in your document. Please let me know, if you are interested in cooperation.
$250 USD në 5 ditë
5,0 (74 përshtypje)
6,3
6,3
Avatari i Përdoruesit
If you want to implement your idea, then I am always ready for you Being a professional developer means to understand all the requirements of the project, and find the best way to implement it with the highest quality. Always focus on the quality of product. My solid knowledge provides development process smoothly, fastest and with high quality thus the apps are stable, scalable, transparent and user friendly.
$25 USD në 1 ditë
4,7 (8 përshtypje)
3,6
3,6
Avatari i Përdoruesit
Hi. I have hedge experience with core java. Your have very interesting task. Could I help you with it so soon as you want? I hope for your positive decision.
$222 USD në 2 ditë
5,0 (1 review)
0,0
0,0

Rreth klientit

Flamuri i UNITED ARAB EMIRATES
Munich, United Arab Emirates
5,0
5
Mënyra e pagesës u verifikua
Anëtar që nga maj 30, 2011

Verifikimi i klientit

Faleminderit! Ne ju kemi dërguar me email një lidhje për të kërkuar kredinë tuaj falas.
Ndodhi një gabim gjatë dërgimit të email-it tuaj. Ju lutemi provoni përsëri.
Përdorues të regjistruar Punë të postuara
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Po ngarkohet shikimi paraprak
Leja u dha për Geolocation.
Seanca e hyrjes ka skaduar dhe ke dalë. Hyr sërish.