Encerrado

Write some Software

write an example application to demonstrate good multithreading practices in C# .net 4.5 to achieve the following:

a method called flow should set up the following

two queues:

INPUT

OUTPUT

three threads or simultaneous tasks:

READ

PROCESS

WRITE

and start READ

READ:

reads in data one packet at a time from a data source and places data on the INPUT queue,

until there is no more data to read.

(

in the real implementation this will be a read from a database,

the database can lock,

it can be slow,

it can fail

in this implementation this should be simulated by a random length wait,

and an occasional random exception

)

PROCESS:

takes one packet of data from the INPUT queue

processes this data packet

places output processed data packet on the OUTPUT queue.

PROCESS thread could run out of work.

it should wait

if READ adds another packet on INPUT queue it should continue processing

if READ finishes,

PROCESS should

process any remaining packets

then PROCESS is finished

(

in the real implementation the processing will be a web service call to an external system,

it can be slow,

it can fail

in this implementation this should be simulated by a random length wait,

and an occasional random exception

)

WRITE:

takes one packet of data from the OUTPUT queue

writes this to a database

WRITE could run out of work

it should wait

if PROCESS adds another packet to OUTPUT queue it should continue writing

if PROCESS finishes

WRITE should write any remaining packets

then WRITE is finished

(

in the real implementation this will be a write to a database,

the database can lock,

it can be slow,

it can fail

in this implementation this should be simulated by a random length wait,

and an occasional random exception

)

WHEN

READ, PROCESS and WRITE are finished

THEN

flow should pack up all objects and exit

CONSTRAINTS:

PROCESS must be FIFO

WRITE must be FIFO

There cannot be simultaneous instances of PROCESS

if either queue gets too long, READ should stop reading until they get shorter

An exception in any thread should result in all threads packing up and FLOW exiting

Habilidades: .NET, Programação C#

Ver mais: software write mq4, software write chip epson, useful software write book, software write web specs, free software write user guide, software write edid, free software write company profile, software write websites idea, software write book images, software write books, software write protection, free software write book, software write book, software write protect software, software write technical manual

ID do Projeto: #14079608

30 freelancers estão ofertando em média $472 para este trabalho

esolzsales

Hello, Greetings, Top most Freelancer to work with and have great reviews too. We have read your project details and we are very much keen to work with you. We have the best developer and designer team havi Mais

$777 USD in 17 dias
(14 Comentários)
7.4
langlangFan

Hello. Good to see another serious posting. I don't usually look for new clients but I happened to see your job post and I wanted to contact you. I’ve read your brief and I could absolutely help you with your goal. Mais

$555 USD in 10 dias
(7 Comentários)
5.5
tudiptechnology

Hi, Let me keep this really short as I am sure you would be swamped with the proposals! We have proven track record of delivering C#/.Net web applications with AngularJS front end. Few applications that we w Mais

$722 USD in 45 dias
(5 Comentários)
5.3
prashushinde9

I want to discuss this project with you further, let me know the best suitable time for you to schedule the meeting, Feel free to message me at any time, i used to be online 14 hrs in a day on this website so probably Mais

$773 USD in 20 dias
(8 Comentários)
4.6
Gates777

Hi, I am very experienced with C#. I can complete this clearly. thanks. -----------------------------------------------------------------------

$277 USD in 3 dias
(11 Comentários)
4.4
TopTower22

hello,how are you. i read your bid carefully. i am C# expert and have full experience for 7 years. C# language is my top skill and my interested skill. I can provide most quality and high fast. if you want to succe Mais

$555 USD in 10 dias
(8 Comentários)
4.5
JoseCarrier

Hello, Please check my reviews I am good at C#.net I have many experience with C# for 5 years Please send me the message now Thanks

$555 USD in 10 dias
(8 Comentários)
4.4
ZhangDa

Nice to meet you. This looks an interesting project. We can define a data structure with below properties. Basic idea of this job. * Define 2 queues objects. * Define a method AccessInputQueue which access Input Mais

$400 USD in 10 dias
(6 Comentários)
3.8
Gangsong

hello. I am a professional developer and I have good experience and service in .Net programming. I hope to work with you. Thanks

$555 USD in 10 dias
(4 Comentários)
3.3
mahmoud9

Hello Sir , Before to tell you more about me , I have successfully delivered +270 projects for clients across +50 countries in domains like healthcare, e-commerce, social network, chat app, food delivery app Mais

$555 USD in 10 dias
(7 Comentários)
2.7
utkuozan76

I already have your application developed. It just needs to path some issues which are not clear in the specs. 1 - How to we know the input is finished? Is there a timeout or do we know the number ıf input Packets? Mais

$300 USD in 2 dias
(2 Comentários)
2.4
vw968052vw

A proposal has not yet been provided

$250 USD in 3 dias
(1 Comentário)
2.1
shivanimishra19

We are a group of very sound developers and designers. We are committed to give a quality work with satisfaction to our Clients. We are expertise in: - .Net - C# - Cloud Hosting - Azure - Angular JS - MVC - Selenium Mais

$277 USD in 8 dias
(1 Comentário)
2.1
israrsoft

Hello there, Deepak this side from India. Thank you for posting the project, I have studied your requirements I Have 8+ years of exp in the same field and I Have a great portfolio as well. Skills: - Asp.ne Mais

$555 USD in 10 dias
(5 Comentários)
2.6
wilie247

i have many years experience in the software development Cycle. i have developed in C++, C# and other Languages.. few of my running products are fosatradeintegrated.com, zamakiacademy.org etc. am sure i will be your be Mais

$277 USD in 10 dias
(0 Comentários)
0.0
cellsoft

hi, we have worked on many wordpress, php & java web apps, admin panels and web services(API for mobile apps). our team are having expertise of more than 7 year in php and other web technologies. pls contact at be Mais

$777 USD in 10 dias
(0 Comentários)
0.0
$277 USD in 3 dias
(0 Comentários)
0.0
$500 USD in 7 dias
(0 Comentários)
0.0
deepmirchandani

I HAVE DONE THIS TYPE OF THINGS MANY TIMES.I WILL WORK FOR YOU AT MINIMUM RATE WHAT YOU HAVE SET. PLEASE CONTACT ME ON deepmirchandani1991[at]gmail.com. I CAN GIVE YOU DEMO ON YOUR PROJECT ONLY FOR FREE FOR MAKE TRUST Mais

$833 USD in 10 dias
(0 Comentários)
0.0
saown666

hello having rich interest on this project, im interested to have a little chit chat to go into deep. i will gladly response to your attention. thank you

$450 USD in 7 dias
(20 Comentários)
0.0