It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I just started learning Erlang. My task to write a simple script for testing web applications. I hasn't found work script in the Internet, and Tsung too bulky for such a task. Is anyone can help me (give working example of script or link where I can found it)?
What would be possible to specify a URL, and concurrency, and time of testing and get the results. Thanks.
This links not help:
http://effectiveqa.blogspot.com/2009/12/minimal-erlang-script-for-load-testing.html
(not working, function example/0 undefined )
http://www.metabrew.com/article/a-million-user-comet-application-with-mochiweb-part-1
(work for socket, but I need concurrent testing)
I use for such purposes basho bench. It not so hard to start with it and add your own cases. Also it contains script, which draw all results.
Would like to build one? I would not recommend that way (because I have tried and there are so many things to consider to build one, especially spawning many processes and collecting the result back)
As you already know, I would recommend tsung, although it is bulky, it is a full load test application. I have gave up mine, and went back to tsung because could not properly handle opening/closing sockets with too many processes.
If you really want a simple one, I would use httperf. AFAKI, it works fine with single machine with multiple processes.
http://agiletesting.blogspot.ca/2005/04/http-performance-testing-with-httperf.html
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I have a potential client that wants to build a platform agnostic application. Initially it'll run on a windows 7 tablet and will expand. Its a roofing business, so they're going to take pictures with the camera, fill out some forms, and then generate a report from it. The first thing I can think of is making an API call to a web service I create that does some crystal reports magic them returns to the client.
Problem is, they aren't always guaranteed internet access. What can I do here? My thoughts right now are building the app in rails or MVC 4.
It is pretty hard to answer your question since it won't be an exactly answer, but my thougths are:
1° - Build a Windows Phone app that will fill out everything that is
needed and store locally
2° - Do a background process that will send this via rest calls to a
service
3° - Build the service to receive the requests and a rails app to the
client to login and have access to the reports this can be made in
rails
This is a possibility if they need to access reports from anywhere. Otherwise the reports could be made in the tablet itself.
Just some thoughts, the solution may take a very different path, since you were not accurate enough to a definitive answer.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
My question is how to run a multi-threaded program in C by pthread across multiple computers?
Is it possible?
Running program across multiple computers might not be possible with multi-threading try using multiple processes as #goldenmean has suggested.
PS:You can find my tutorials online this type of application can be easily done using MPI.
Using pthreads library alone would not help you to execute a distributed version of your code/application on different physical CPUs/machines. For that you might need to see how the below libraries/frameworks for distributed computing work
-- Message Passing Interface (MPI)
-- Hadoop and MapReduce
-- Write your own distributed parallel programming framework using the basic building blocks
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
Is there someone who had the experience of using all the three techs?
I found that murder is a twitter's open source project for code deploys,
it uses BitTorrent to reach a high speed of distributing files
but puppet and chef are also used for software distribution.
can any one give a brief introduction to this three?
Disclaimer: I am one of the Puppet developers.
Murder is a file distribution strategy: it is really, really good at getting files (and especially large files) to a whole lot of machines really fast. It integrates with other tools, like capistrano, for actually taking action to do something beyond copy files around.
Both Puppet and Chef are, at this level, almost identical: they are both tools that take a description of how the machine should be, and then turn that into actions to make it so.
You can deploy files with them both, but they are very much classic HTTP or rsync style "copy the file to here" tools. They don't implement any P2P data transfer optimization or anything like that at this stage.
So, they can both do way more than murder, but they are much less good at "get this file on 10,000 machines", and much better at "make this machine the way it should be".
You would use murder in conjunction with some other deployment strategy, and Puppet or Chef might form part of that - but neither would replace the other.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I want to implement a Web Service that will allow users to store arbitrary data in my home computer and execute arbitrary batch programs to manipulate said data. In order to keep things simple, so I will not deal with priority queues and concurrent processes yet. My process request queue will be a simple FIFO queue.
So, I know how to implement Web Services, and obviously I know how to implement a FIFO queue, but I do not know how to implement a system service that runs in the background, waiting for requests. Where could I find learning resources on how to develop a Windows service?
I already know Windows development using the Windows API, MFC and even some ATL/WTL. (I also know .NET, but I do not like it very much, because it gets in the way how I design programs.) But I would rather not have to deal with COM.
Since you're developing a service on Windows and you want to use web services chances are that you will want to host your solution in IIS which is already the type of always-on, background application that you want. E.g. runs all the time regardless of login or UI.
If you use the .NET framework then your implementation will become especially easy due to all the project templates available in Visual Studio.
Here's some CodeProject tutorials:
http://www.codeproject.com/KB/WCF/WCFPart1.aspx
http://www.codeproject.com/KB/WCF/WCFWebService.aspx
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I'm getting started in developing web services using JAX-WS. I'm trying to implement classes I can send between my service and client using JAXB, but having trouble getting it to work.
I've tried following the example at this site but cannot seem to get it to work. After following the instructions, the test page that's displayed doesn't have any way of defining the Die objects as is suggested by the article.
All of this is very new to me, so I'm really not sure where to go. I've checked the WSDL file linked from the test page, and my best guess is that the JAXB is not working properly as I don't see the Die class or its properties mentioned anywhere.
A good, fully worked example would be very beneficial. Does anyone know where one can be found? If it's any help, I'm working in Netbeans.
Thanks!
Here is a step by step how to for jax-ws.
http://netbeans.org/kb/docs/websvc/jax-ws.html
If you google netbeans web services you will find many examples.
Here is an excellent JAX-WS tutorial for beginners. http://java.globinch.com/enterprise-java/web-services/jax-ws/java-jax-ws-tutorial-develop-web-services-clients-consumers/
The tutorial explains how to develop web service and consumer without using a Java EE container.