Coder Social home page Coder Social logo

orleans.streamprocessing's Introduction

Orleans.StreamProcessing

This project is a .NET application that utilizes Orleans framework for stream processing. It provides a scalable and distributed architecture for processing real-time data streams.

Running the StreamProcessing.Sample

  1. Go to src\Services\StreamProcessing and build solution.
  2. Go to StreamProcessing output folder and run following command:
dotnet StreamProcessing.dll --InstanceId 1
  1. Go to StreamProcessing.Sample output folder and run following command:
dotnet StreamProcessing.Sample.dll --HostGatewayInstanceId 1

Note

Run StreamProcessing.dll with different InstanceId in different terminals to have multiple silos.


Running the Workflow.Api.Sample

  1. Go to src\Services\StreamProcessing and build solution.
  2. Run StreamProcessing project.
  3. Run StreamProcessing.Api project;
  4. Go to src\Services\Workflow and build solution.
  5. Run Workflow.Api project.
  6. Run Workflow.Api.Sample project.

orleans.streamprocessing's People

Contributors

ahmadafsharinejad avatar amirmohammadzakeri avatar

Stargazers

 avatar

Watchers

 avatar

orleans.streamprocessing's Issues

عدم تشخیص صحیح پلاگین‌های سورس

با سلام
زمانی که پلاگین‌هایی در کانفیگ سناریو تعریف شوند اما به جایی وصل نشوند، در تابع FindSourcePlugins پلاگین‌های سورس به صورت داپلیکیت تشخیص داده می شوند و این ایجاد مشکل می‌کند.
برای مثال، سه پلاگین
httpListener
Map
httpResponse
درست کنید اما Map را به هیچ کدام وصل نکنید
مشاهده می شود که برای یک نود، چند سورس http تشکیل می‌شود.

استفاده از HttpListenerResponse.Close

سلام.
طبق بررسی صورت گرفته، بزرگترین گلوگاه عملکردی سرور http، استفاده از OutputStream در بازگرداندن داده به کلاینت است.
در این لینک هم توضیح داده شده:
https://stackoverflow.com/questions/24887268/httplistenerresponse-outputstream-write-extremely-slow-on-my-server

کافی است به جای
if (responseTuple.ContentBytes is not null) { await using var output = response.OutputStream; await output.WriteAsync(responseTuple.ContentBytes); }
از

if (responseTuple.ContentBytes != null) { response.Close(responseTuple.ContentBytes, false); } else { response.Close(); }
استفاده شود در فایل HttpListenerResponseLocalGrain.

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.