Questions tagged [inproc]

inproc:// constitutes an extremely low-latency overhead transport class for inter-thread process communications. As implemented in ZeroMQ, nanomsg et al, this form of high-performance, true Zero-Copy message passing is very beneficial for higher level, Scaleable Formal Communication Patterns these frameworks are best at.

inproc:// constitutes an extremely low-latency overhead transport class for inter-thread process communications. As implemented in ZeroMQ, nanomsg et al, this form of high-performance, true Zero-Copy, message passing is very beneficial for higher-level Scaleable Formal Communication Patterns these frameworks are best at.

45 questions
25
votes
3 answers

Which one is better, InProc or SQL Server, for Session State mode in asp.net?

I am developing an ASP.NET website. I want to know which one is better in session state mode: InProc or SQL Server? I need to hear about your experiences on this issue. Another question is about cookieless attribute. Is there any security hole in my…
Ali Foroughi
  • 4,540
  • 7
  • 42
  • 66
18
votes
4 answers

How to use Zeromq's inproc and ipc transports?

Im a newbie to ZERMQ. ZeroMQ has TCP, INPROC and IPC transports. I'm looking for examples using python and inproc in Winx64 and python 2.7, which could also be used for linux. Also, I have been looking for UDP methods of transport and cant find…
Merlin
  • 24,552
  • 41
  • 131
  • 206
11
votes
3 answers

Difference between ZeroMQ and IPC

Q1: What exactly is the difference between using ZeroMQ to send messages to child processes, as compared to the default inter process communication explained here? Q2: For direct process to child communication, which would be more appropriate?…
NiCk Newman
  • 1,716
  • 7
  • 23
  • 48
11
votes
2 answers

Difference between inproc and outproc

I am trying to find difference between inproc and outproc in c#. If I have a dll running on the server and my question is will it run in both inproc and outproc? Performance-wise which process is better?
Coder0997
  • 232
  • 2
  • 3
  • 14
10
votes
2 answers

Using ZeroMQ with C# with inproc transport

I'm experimenting with ZeroMQ and trying to get something working. My first thought was to set up a REP/REQ using the inproc transport to see if I could send messages between two threads. Most of the below code is taken from the clzmq examples,…
jonnii
  • 28,019
  • 8
  • 80
  • 108
10
votes
3 answers

ASP.Net ReadOnly Session

I've conducted the following simple test: In web.config, we have: `sessionState timeout=40 mode=InProc ` Empty page with `EnableSessionState = "ReadOnly"` set in page tag Code Behind: protected void Page_Load(object sender, EventArgs e) { if…
Ahmad Th
  • 319
  • 5
  • 17
9
votes
2 answers

InProc vs. AppFabric session state with single web server

I have an ASP.Net MVC application which makes significant use of session to save state (including large data collections). At present, it is hosted on a single web server. The session is set to the default of InProc. An issue arises whereby the…
Andy Thomas
  • 1,367
  • 2
  • 14
  • 30
7
votes
2 answers

MVC3 .NET Session randomly losing session value and is return as null

I have a production issue with In-Proc session state. Our application is base on MVC 3 .NET framework and is integrated into our site running Sitecore CMS. Our users have been experiencing "Object reference not set to an instance of an object"…
Jun Zheng
  • 677
  • 1
  • 15
  • 31
7
votes
3 answers

ASP.Net Session State Provider Failover Scenario

We had implemented Redis session state provider to our web application and it works like a charm but i wonder what happens if redis server fails or web server couldn't connect to redis server. Is there any way to use InProc Session State management…
bahadir arslan
  • 4,535
  • 7
  • 44
  • 82
4
votes
2 answers

How do I cleanly shutdown zeromq DEALER/ROUTER inproc connections

In one of my applications I'm using DEALER/ROUTER inproc connections. I set the linger option on the DEALER socket to 0, so that all messages sent on the DEALER socket shall be discarded once the ROUTER socket is closed. Although this works well for…
DirkG
  • 115
  • 4
4
votes
2 answers

'in-proc' Session State mode on a multiple server setup?

My Team is using 'in-proc' Session State mode on a multiple server setup. This does not seem right to me obviously because the session state is going to be unique on each server and will not be shared. We have approached this problem by giving the…
Gadam
  • 2,674
  • 8
  • 37
  • 56
4
votes
0 answers

how to use "inproc" for connecting C# and C++ (how to share context?)

I want to connect c++ and c# side of my application using "inproc" binding. To do that I need to share context somehow, because both c# and c++ parts should use the same context. How can I do that? I'm using official c++ and c# bindings. I.e. on c#…
Oleg Vazhnev
  • 23,239
  • 54
  • 171
  • 305
4
votes
1 answer

How to communicate between ZeroMQ contexts in different Goroutines?

I'm using this as boilerplate, except that in the same program I also have some goroutines that are the workers and connect to the backend endpoint, tcp://127.0.0.1:5560. What I would like to do is have it connect through a more efficient way, such…
João Pinto Jerónimo
  • 9,586
  • 15
  • 62
  • 86
3
votes
3 answers

Azure and In Proc Session

I have my site (ASP.Net 4.0 C#) hosted on Azure server with multiple instances. My session state mode is "InProc". Somehow its not working on Azure instances, it doesn't maintain the state properly. Please advice. Regards Vivek
Vivek
  • 31
  • 1
  • 2
3
votes
2 answers

How to use inproc transport with pyzmq?

I have set up two small scripts imitating a publish and subscribe procedure with pyzmq. However, I am unable to send messages over to my subscriber client using the inproc transport. I am able to use tcp://127.0.0.1:8080 fine, just not…
juiceb0xk
  • 949
  • 3
  • 19
  • 46
1
2 3