|
dude, there isn't a forum by the name "Socket" or ".NET IPC", so this i figure is the closest.
dev
|
|
|
|
|
You could have chosen this[^] forum, or this[^] one. Richard is right - as your question doesn't have any code element, i.e. you haven't actually asked why your code is slow, then it's not for this forum. Your question is more general and, dare I say it, architectural.
|
|
|
|
|
i see, you are correct Peter, in absence of C# code, this is an architectural issue
dev
|
|
|
|
|
And neither "Socket" nor "NET.IPC" are specific to C#.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
The question isn't really valid. What is acceptable for your app depends on your requirements, not some general opinion.
|
|
|
|
|
no, if you wire one simple request with a small payload and it takes one second, we know "Something is Wrong", regardless of your application.
In fact I think fact our code now do one request in 50ms local-to-local tells me it's not tuned enough
dev
|
|
|
|
|
As others have said, you're asking for other peoples opinion about what is acceptable performance for a single request. We REALLY can't answer that. Only your requirements can.
Then, you toss all of that discussion and replace other opinions with what YOUR opinion is and that the performance is unacceptable. You answered your own question!
Now, if you're asking about how to improvie your code performance, you can restate your question and supply the relevant code snippets to show what you've got.
|
|
|
|
|
|
Reported as abusive.
Have a nice life.
|
|
|
|
|
Dave Kreskowiak wrote: Have a nice life.
Go get one buddy
dev
|
|
|
|
|
devvvy wrote: What's your thought on this performance level?
What is the performance measurement if you open 50 threads at the same time and run for 5 minutes and average the result?
|
|
|
|
|
Yes threaded but test done single threaded manner - this seems to tell me our code can be further tuned, guess to <10ms for local-to-local (simple request not a big payload)
dev
|
|
|
|
|
devvvy wrote: Yes threaded but test done single threaded manner
Which is why I suggested that you do a threaded test.
|
|
|
|
|
btw, removed logging one place it's not 6ms per call! Hurrah!
dev
|
|
|
|
|
Just wondering if anyone can help me with this. I have a C# windows app and wish to use Microsoft report viewer to display a report where each line of a dataset is displayed on a seperate page. This is a visual studio 2010 project.
This is easy with crystal reports, but I cannot seem to find this function in MS Reports ?
Thanks in advance.
|
|
|
|
|
Suppose I have a solution containing a console project ("TestConsole") and two library projects ("New" and "Old").
New and Old contains the same class called "MyClass", each one with the same name. I add both as reference to "TestConsole"
In "TestConsole" can I switch the use of MyClass choosing from which assembly the class come (New or Old), in the code?
|
|
|
|
|
TheGermoz wrote: In "TestConsole" can I switch the use of MyClass choosing from which assembly the class come (New or Old), in the code?
Not so easily. You could load a type, based on it's name - but the name of the type has to be unique within the namespaces loaded.
If you'd program against an Interface , you could use "any" object that implements that interface. Another sweet alternative would be to use a base-class, and inherit both New and Old from the same base.
|
|
|
|
|
|
Do you mean like this, same class name different namespace ?
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
ClassLibrary1.Class1 myClass = new ClassLibrary1.Class1();
ClassLibrary2.Class1 myClass2 = new ClassLibrary2.Class1();
}
}
}
|
|
|
|
|
this is perfect you get the point!
|
|
|
|
|
bonjour tout le monde
je realise une application et j'ai besoin d'un dictionnaire sous forme d'une base de donnée pour pouvoir l'utiliser facilement avec l'application et donner pouch chaque mot son synonyme et son antonyme.
Est ce que vous pouvez m'aidez à trouver ça ? "dictionnaire de synonyme et antonyme sous forme d'une base de donnée"
merci pour votre aide
|
|
|
|
|
Please use English, or move to a French speaking forum.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
I think you'll have to create that database yourself. The design is quite easy: a table "synonyme" and a table "antonyme", each having two nvrachar columns "word1" and "word2". Since the relationship of antonym or synonym is mutual, do a UNION query like:
SELECT word1 FROM synonyme WHERE word2=@word
UNION
SELECT word2 FROM synonyme WHERE word1=@word
Perhaps it is possible to find some lists with synonyms/antonyms in some other format on the web. Then you'll have to transform the list for your database.
|
|
|
|
|
bonjour tout le monde je réalise une application qui permet de lire des fichier texte et l'affiche dans un texte box mais lors de l'affichage des texte arabe on trouves just des symboles "????????????????" comment on peut corriger ça?
j'ai fait: tetbox1.text=file.readAlltext(openfiledialog1.filename,Encoding.utf8) mais l'affichage reste comme ça "?????????????????"
MErci pour votre aide
cordialement
|
|
|
|
|
In English please!
En anglais s'il vous plaît!
Bitte auf englisch!
ください英語で
------------------------------
Author of Primary ROleplaying SysTem
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.
|
|
|
|