Skip to main content

Posts

Views

How to unzip a zip file from the Terminal?

Recent posts

Baby Steps - Linux Proxy Ubuntu

Step 1

sudo vi /etc/apt/apt.conf.d/95proxies


Acquire::http::proxy "http://user:pwd@ip:port/";   
Acquire::ftp::proxy "ftp://user:pwd@ip:port/";  
Acquire::https::proxy "https://user:pwd@ip:port/";

After that

Step 2
sudo vi /etc/environment

PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
http_proxy="http://user:password@ip:port"
ftp_proxy="http://user:password@ip:port"

Acquire {
HTTP::Proxy user:password@ip:port;
FTP::Proxy user:password@ip:port;
};
alias wget="wget --proxy-user=user--proxy-passwd=password"


Step 3.

sudo apt-get update



Nossa Senhora Aparecida, Rogai por nós.

Make your own ACK, because SignalR doesn't guarantee message delivery

"SignalR doesn't guarantee message delivery. Since SignalR doesn't block when you call client methods, you can invoke client methods very quickly as you've discovered. Unfortunately, the client might not always be ready to receive messages immediately once you send them, so SignalR has to buffer messages.
Generally speaking, SignalR will buffer up to 1000 messages per client. Once the client falls behind by over 1000 messages, it will start missing messages. This DefaultMessageBufferSize of 1000 can be increased, but this will increase SignalR's memory usage and it still won't guarantee message delivery.
http://www.asp.net/signalr/overview/signalr-20/performance-and-scaling/signalr-performance#tuning
If you want to guarantee message delivery, you will have to ACK them yourself. You can, as you suggested, only send a message after the previous message has been acknowledged. You can also ACK multiple messages at a time if waiting for an ACK for each mess…