Has anyone used Facebook Scribe? (the tool for logging everything) [closed] - c++

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
How does it work? (Explain it in terms of server, writes, GETs, values, whatever).
DOes it work with Win32 apps?

I'll try to explain:
There is an application, with thrift
class/interface. When event that you
want to log occures, you send
message to the
Server, which collect logs from many
sources (application, server logs,
etc)
And then server decides what do
do with it: generate visualization,
send over tcp/ip, store in a file,
nfs, hdfs, you decide.
Server and client can be the same
app or machine, or this log data can
be sent from client over internet.
Definitely works with win32 apps.

It Works Great.
We're using Scribe to test some message processing.
We're sending Apache logs with Scribe. (Under Ubuntu)

Related

Solution for sending data from server to clients (web, mobile devices) in AWS? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
Is there solution in AWS for sending filtered data from server to clients (web, mobile devices) or for specific client by subscription?
AWS has the Simple Notification Service that has subscription and publish functionality. For example, you can code a web app that lets you publish a message and then the message is sent via email (there are other channels too) to all subscribed clients.
Here is an example app that shows this functionality and built with the AWS SDK for Java.
Creating a Publish/Subscription Spring Boot Application
(This type of solution can be built with other programming languages too that are supported by the AWS SDK. This Java example is just one way to invoke AWS SNS functionality).
It seems like a job for AWS SNS (https://aws.amazon.com/en/sns)

Configure VPN split tunneling for macOS based on selected apps [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
My task is to develop split tunnelling feature for macOS so if I am connected to a VPN connection only selected apps can send their traffic to the VPN while other apps will be using local internet connection.
I noticed other VPN apps like expressvpn offering these features but I couldn't find any help over the internet how to achieve that.
I haven't checked this myself but OpenVPN daemon exposes set of APIs which can be used to create multiple VPN tunnels for each application, as mentioned in your question.
So the solution of this problem is NKE, Apple's Network Kernel Extensions you can write your own kext which handles network operations on various levels.
I hope this clue will help someone in future.

How to expose a c service / cpp service easily and securely [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I want to host a cpp service as a executable file and able to track the log, handle the exception and able to handle high load.
You can try c-sevice-interface https://github.com/Taymindis/c-service-interface
This is a small bridge engine which can handle high load of request, any segfault will not break the engine, it will catch and free the thread, it is built on top NGINX, FCGI. You can setup the proxy, load balance, authentication via NGINX before reach to your interface.
The link shown as below is a wiki to Guide you how to startup from scratch.
https://github.com/Taymindis/fcgi-function/wiki/How-to-build-a-cpp-service-on-c-service-interface

Testing a TCP socket server? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I've written a simple TCP socket server in c++ that uses sys/socket and OpenSSL..
I wish to use this server in production and I haven't been able to find clear methods for testing a socket server at scale.
What are the best methods and/or tool for testing sockets?
Unless you want to write a custom test client, which obviously doesn't have to be in C++, there are some common tools that can be used to connect to your server. For example, you can use curl and telnet. Google for these tools and how to use them if you are not already familiar with them. The following answers might be helpful:
https connection using CURL from command line
https://superuser.com/questions/346958/can-the-telnet-or-netcat-clients-communicate-over-ssl

Auto pilot mode of application [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Hey Guys I am working on Gateway Simulator.
here gateway simulator is connected with the camera.gateway respond when user sends command.
command can be like streaming video or status of the sensor associated battery information etc.There is data center also which will forward the user request to gateway.
There some information which gateway also send to the user or data center with out any request from the user or data center.like battery status down,sensor remove etc etc.
Since this simulator will be used by the developer/QA team to simulate the gateway.they want it it to run in auto pilot mode/pre-scripted instructions mode as well.
I wanted some input from you guys o this.I wanted to know some the widely used approach to address this issue.
any link/suggestion would be fine.This gateway simulator needs to be written ic++ for both linux and windows paltform.
It depends on how (network, console, GUI, ...) the user is sending commands. If it's network or console, writing a script that will feed the command should not be too hard in any language, but there is a tool called expect, built on top of tcl, that's specifically designed for this task. Alternatively if you know perl or python and don't want to learn tcl, you can use the perl Expect module or python pexpect package (windows version).
If the commands are given through a GUI, there is some tooling to automate even that in LDTP. It should work with Gtk+ GUI and I am not sure how far it is with Qt (or whether KDE has something similar).